package com.example.customize.entity.base.eo;

/**
 * 客户端类型
 */
public enum ClientTypeEnum {
    PC,H5,WX,ELSE;
    public static ClientTypeEnum getClientTypeByExplain(String explain){
        for(ClientTypeEnum clientTypeEnum : ClientTypeEnum.values()){
            if(clientTypeEnum.toString().equals(explain)){
                return clientTypeEnum;
            }
        }
        return null;
    }
}
